﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo10
{//动物类
    class animal
    {
        public void shuijiao()
        {
            Console.WriteLine("我会睡觉");
        }
        public void chi()
        {
            Console.WriteLine("我会吃");
        }
        public void pao()
        {
            Console.WriteLine("我会跑");
        }
        public virtual void call()
        {
            Console.WriteLine("我准备叫咯");
        }
    }
}
